<template>
  <div id="files">
    <el-table :data="tableData" style="width: 100%" height="100%">
      <el-table-column prop="FileName" label="文件名" width="500">
        <template slot-scope="scope">
          <el-link icon="el-icon-info">{{ scope.row.FileName }}</el-link>
        </template>
      </el-table-column>
      <el-table-column prop="Size" label="大小">
        <template slot-scope="scope" class="display-inline">
          <div>{{ scope.row.Size }}</div>
        </template>
      </el-table-column>
      <el-table-column label="操作">
        <template>
          <el-button-group>
            <el-button icon="el-icon-delete" size="small"></el-button>
            <el-button icon="el-icon-edit" size="small"></el-button>
          </el-button-group>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<style scoped>
</style>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          FileName: "1",
          Size: "25M",
        },
        {
          FileName: "2",
          Size: "30M",
        },
      ],
    };
  },
};
</script>